;//ノンステップバス,,,,
;------ボディ------,,,,
CreateMeshBuilder,,;//前面方向幕,,
AddVertex,-1.25,2.45,-10.45,
AddVertex,-1.25,2.93,-10.5,
AddVertex,1.25,2.93,-10.5,
AddVertex,1.25,2.45,-10.45,
AddFace,0,1,2,3
GenerateNormals,,,,

LoadTexture,front.bmp,,,
SetTextureCoordinates,0,0,0.165,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,0.165,


CreateMeshBuilder,,;//前面方向幕,,
AddVertex,-1.25,2.45,-10.45,;0
AddVertex,-1.25,2.93,-10.5,;1
AddVertex,1.25,2.93,-10.5,;2
AddVertex,1.25,2.45,-10.45,;3
AddVertex,-1.25,2.45,-10.35,;4
AddVertex,-1.25,2.93,-10.35,;5
AddVertex,1.25,2.93,-10.35,;6
AddVertex,1.25,2.45,-10.35,;7
AddFace,1,5,6,2
AddFace,3,2,6,7
AddFace,0,4,5,1
AddFace,4,7,6,5
AddFace,0,3,7,4
SetColor,255,247,220,
GenerateNormals,,,,


CreateMeshBuilder,,;//フロント,,
AddVertex,-1.245,0.57,-10.35,;0
AddVertex,-1.245,2.45,-10.35,;1
AddVertex,-1.1,2.45,-10.45,;2
AddVertex,-1.1,0.57,-10.45,;3
AddVertex,1.1,2.45,-10.45,;4
AddVertex,1.1,0.57,-10.45,;5
AddVertex,1.245,2.45,-10.35,;6
AddVertex,1.245,0.57,-10.35,;7
AddFace,0,1,2,3
AddFace,3,2,4,5
AddFace,5,4,6,7
GenerateNormals,,,,

LoadTexture,front.bmp,,
SetTextureCoordinates,0,0.002,0.84
SetTextureCoordinates,1,0.002,0.17
SetTextureCoordinates,2,0.1,0.17
SetTextureCoordinates,3,0.1,0.84
SetTextureCoordinates,4,0.9,0.17
SetTextureCoordinates,5,0.9,0.84
SetTextureCoordinates,6,1,0.17
SetTextureCoordinates,7,1,0.84


CreateMeshBuilder,,;//左側面,
AddVertex   ,1.245,0.2,-10.35
AddVertex   ,1.245,2.85,-10.35
AddVertex   ,1.245,2.85,-1
AddVertex   ,1.245,0.2,-1,
AddFace,0,1,2,3
GenerateNormals,,,,

LoadTexture,sideL.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0.03,
SetTextureCoordinates,2,0.9,0.03,
SetTextureCoordinates,3,0.9,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//左側面,,
AddVertex   ,1.245,0.2,-1,
AddVertex   ,1.245,2.85,-1,
AddVertex   ,1.245,2.85,0,
AddVertex   ,1.245,0.3,0,
AddFace,0,1,2,3
GenerateNormals,,,,

LoadTexture,sideL.bmp,,,
SetTextureCoordinates,0,0.9,1,
SetTextureCoordinates,1,0.9,0.03,
SetTextureCoordinates,2,1,0.03,
SetTextureCoordinates,3,1,0.96,


CreateMeshBuilder,,;//左側面ノンステップバス文字,,
AddVertex   ,1.25,2.47,-8.7,
AddVertex   ,1.25,2.7,-8.7,
AddVertex   ,1.25,2.7,-6.7,
AddVertex   ,1.25,2.47,-6.7,
AddFace,0,1,2,3
GenerateNormals,,,,

LoadTexture,nonstep-bus.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,


CreateMeshBuilder,,;//右側面,,
AddVertex   ,-1.245,0.2,-10.35,
AddVertex   ,-1.245,2.85,-10.35,
AddVertex   ,-1.245,2.85,-1,
AddVertex   ,-1.245,0.2,-1,
AddFace,0,3,2,1
GenerateNormals,,,,

LoadTexture,sideR.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0.03,
SetTextureCoordinates,2,0.9,0.03,
SetTextureCoordinates,3,0.9,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//右側面,,
AddVertex   ,-1.245,0.2,-1,
AddVertex   ,-1.245,2.85,-1,
AddVertex   ,-1.245,2.85,0,
AddVertex   ,-1.245,0.3,0,
AddFace,0,3,2,1
GenerateNormals,,,,

LoadTexture,sideR.bmp,,,
SetTextureCoordinates,0,0.9,1,
SetTextureCoordinates,1,0.9,0.03,
SetTextureCoordinates,2,1,0.03,
SetTextureCoordinates,3,1,0.96,


CreateMeshBuilder,,;//右側面ノンステップバス文字,,
AddVertex   ,-1.25,2.47,-8.7,
AddVertex   ,-1.25,2.7,-8.7,
AddVertex   ,-1.25,2.7,-6.7,
AddVertex   ,-1.25,2.47,-6.7,
AddFace,0,3,2,1
GenerateNormals,,,,

LoadTexture,nonstep-bus.bmp,,
SetTextureCoordinates,0,1,1
SetTextureCoordinates,1,1,0
SetTextureCoordinates,2,0,0
SetTextureCoordinates,3,0,1


CreateMeshBuilder,,;//リア,
AddVertex,-1.245,0.3,0
AddVertex,-1.245,2.85,0
AddVertex,-1.21,2.85,0.03
AddVertex,-1.21,0.3,0.03
AddVertex,-1.21,0.3,0.03
AddVertex,-1.21,2.85,0.03
AddVertex,1.21,2.85,0.03
AddVertex,1.21,0.3,0.03,
AddVertex,1.21,0.3,0.03,
AddVertex,1.21,2.85,0.03,
AddVertex,1.245,2.85,0,
AddVertex,1.245,0.3,0,
AddFace,0,3,2,1
AddFace,4,7,6,5
AddFace,8,11,10,9
GenerateNormals,,,,

LoadTexture,rear.bmp,,,
SetTextureCoordinates,0,0,0.95,
SetTextureCoordinates,1,0,0.01,
SetTextureCoordinates,2,0.03,0.01,
SetTextureCoordinates,3,0.03,0.95,
SetTextureCoordinates,4,0.03,0.95,
SetTextureCoordinates,5,0.03,0.01,
SetTextureCoordinates,6,0.97,0.01,
SetTextureCoordinates,7,0.97,0.95,
SetTextureCoordinates,8,0.97,0.95,
SetTextureCoordinates,9,0.97,0.01,
SetTextureCoordinates,10,1,0.01,
SetTextureCoordinates,11,1,0.95,


CreateMeshBuilder,,;//屋根,,
AddVertex,-1.21,2.9,-10.35,;0
AddVertex,-1.21,2.9,0,;1
AddVertex,1.21,2.9,0,;2
AddVertex,1.21,2.9,-10.35,;3
AddVertex,-1.245,2.85,-10.35,;4
AddVertex,-1.245,2.85,0,;5
AddVertex,1.245,2.85,-10.35,;6
AddVertex,1.245,2.85,0,;7
AddVertex,-1.21,2.85,0.03,;8
AddVertex,1.21,2.85,0.03,;9
AddFace,0,1,2,3
AddFace,4,5,1,0
AddFace,3,2,7,6
AddFace,8,9,2,1
AddFace,5,8,1,
AddFace,9,7,2,
SetColor,225,217,190,
GenerateNormals,,,,


CreateMeshBuilder,,;//屋根,,
AddVertex,-1,2.9,-9,;0
AddVertex,-1,2.9,-7,;1
AddVertex,1,2.9,-7,;2
AddVertex,1,2.9,-9,;3
AddVertex,-0.9,3.1,-8.9,;4
AddVertex,-0.9,3.1,-7.1,;5
AddVertex,0.9,3.1,-7.1,;6
AddVertex,0.9,3.1,-8.9,;7
AddFace,4,5,6,7
AddFace,0,4,7,3
AddFace,1,2,6,5
AddFace,3,7,6,2
AddFace,0,1,5,4
SetColor,225,217,190,
GenerateNormals,,,,


CreateMeshBuilder,,;//底面,,
AddVertex   ,-1.245,0.2,-1,;0
AddVertex   ,-1.245,0.3,0,;1
AddVertex   ,1.245,0.3,0,;2
AddVertex   ,1.245,0.2,-1,;3
AddVertex   ,-1.245,0.2,-10.35,;4
AddVertex   ,1.245,0.2,-10.35,;5
AddVertex   ,-1.1,0.21,-10.48,;6
AddVertex   ,1.1,0.21,-10.48,;7
AddFace2,0,1,2,3
AddFace2,6,4,5,7
SetColor,0,0,0,
GenerateNormals,,,,


CreateMeshBuilder,,;//内面,,
AddVertex   ,0,0.2,-10.2,;0
AddVertex   ,0,2.8,-10.2,;1
AddVertex   ,0,2.8,-1,;2
AddVertex   ,0,0.2,-1,;3
AddVertex   ,0,0.3,0,;4
AddVertex   ,0,2.8,0,;5
AddVertex   ,-1.245,0.2,-1,;6
AddVertex   ,-1.245,2.8,-1,;7
AddVertex   ,1.245,2.8,-1,;8
AddVertex   ,1.245,0.2,-1,;9
AddVertex   ,-1.245,0.2,-10,;10
AddVertex   ,-1.245,2.8,-10,;11
AddVertex   ,1.245,2.8,-10,;12
AddVertex   ,1.245,0.2,-10,;13
AddFace2,0,1,2,3
AddFace2,3,2,5,4
AddFace,6,7,8,9
AddFace,10,13,12,11
SetColor,0,0,0,
GenerateNormals,,,,


;------ミラー------,,,,
CreateMeshBuilder,,;//ミラー,,
Cylinder,16,0.09,0.09,0.015
SetColor,225,217,190,
Rotate,1,0,1,135
Translate ,1.1,2.3,-10.65,


CreateMeshBuilder,,;//ミラー,,
Cylinder,16,0.09,0.09,0.015
SetColor,225,217,190,
Rotate,1,0,0,90
Translate ,1.3,2.2,-10.65,


CreateMeshBuilder,,;//ミラー,,
Cylinder,16,0.09,0.09,0.015
SetColor,225,217,190,
Rotate,1,0,0,90
Translate ,1.3,2,-10.65,


CreateMeshBuilder,,;//ミラー,,
Cube,0.09,0.09,0.0075,
SetColor,225,217,190,
Translate ,1.3,2.1,-10.65,
GenerateNormals,,,,


CreateMeshBuilder,,;//ミラーアーム,,
Cylinder,4,0.015,0.015,0.35
SetColor,225,217,190,
Rotate,1,0,0.15,90
Translate ,1.28,2.37,-10.5,


CreateMeshBuilder,,;//ミラーアーム,,
Cylinder,4,0.015,0.015,0.23
SetColor,225,217,190,
Rotate,1,0,0,0
Translate ,1.3,2.26,-10.67,


CreateMeshBuilder,,;//ミラーアーム,,
Cylinder,4,0.015,0.015,0.23
SetColor,225,217,190,
Rotate,-1,0,1,105
Translate ,1.2,2.35,-10.55,


CreateMeshBuilder,,;//ミラー,,
Cylinder,16,0.09,0.09,0.015
SetColor,225,217,190,
Rotate,1,0,0,90
Translate ,-1.35,2,-10.24,


CreateMeshBuilder,,;//ミラー,,
Cylinder,16,0.09,0.09,0.015
SetColor,225,217,190,
Rotate,1,0,0,90
Translate ,-1.35,1.8,-10.24,


CreateMeshBuilder,,;//ミラー,,
Cube,0.09,0.09,0.0075,
SetColor,225,217,190,
Translate ,-1.35,1.9,-10.24,
GenerateNormals,,,,


CreateMeshBuilder,,;//ミラーアーム,,
Cylinder,4,0.015,0.015,0.2
SetColor,225,217,190,
Rotate,0,0,1,90
Translate ,-1.25,1.9,-10.25,


;------バンパー------,,,,
CreateMeshBuilder,,;//フロントバンパー,,
AddVertex,-1.245,0.2,-10.38,;0
AddVertex,-1.245,0.57,-10.38,;1
AddVertex,-1.1,0.57,-10.48,;2
AddVertex,-1.1,0.21,-10.48,;3
AddVertex,1.1,0.21,-10.48,;4
AddVertex,1.1,0.57,-10.48,;5
AddVertex,1.245,0.57,-10.38,;6
AddVertex,1.245,0.2,-10.38,;7
AddFace,0,1,2,3
AddFace,3,2,5,4
AddFace,4,5,6,7
GenerateNormals,,,,

LoadTexture,front.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0.845,
SetTextureCoordinates,2,0.1,0.845,
SetTextureCoordinates,3,0.1,1,
SetTextureCoordinates,4,0.9,1,
SetTextureCoordinates,5,0.9,0.845,
SetTextureCoordinates,6,1,0.845,
SetTextureCoordinates,7,1,1,


CreateMeshBuilder,,;//フロントバンパー,,
AddVertex,-1.245,0.57,-10.38,;0
AddVertex,-1.1,0.57,-10.48,;1
AddVertex,1.1,0.57,-10.48,;2
AddVertex,1.245,0.57,-10.38,;3
AddVertex,-1.245,0.57,-10.35,;4
AddVertex,1.245,0.57,-10.35,;5
AddVertex,-1.245,0.2,-10.35,;6
AddVertex,1.245,0.2,-10.35,;7
AddVertex,-1.245,0.2,-10.38,;8
AddVertex,1.245,0.2,-10.38,;9
AddFace,1,0,3,2
AddFace,0,4,5,3
AddFace,9,3,5,7
AddFace,8,6,4,0
SetColor,150,150,150,
GenerateNormals,,,,


CreateMeshBuilder,,;//リアバンパー,
Cube,0.07,0.1,0.2
SetColor,20,20,20
Translate ,1.19,0.35,-0.1
GenerateNormals,,,


CreateMeshBuilder,,;//リアバンパー,
Cube,0.07,0.1,0.2
SetColor,20,20,20
Translate ,-1.19,0.35,-0.1
GenerateNormals,,,


CreateMeshBuilder,,;//リアバンパー,
Cube,1.2,0.08,0.2,
SetColor,160,160,160,
Translate ,0,0.35,-0.11,
GenerateNormals,,,,


;------タイヤ・ホイール------,,,,
CreateMeshBuilder,,;//左フロントタイヤ,,
Cylinder,16,0.47,0.47,0.3
SetColor,40,40,40,
Rotate,0,0,1,90
Translate ,1.05,0.47,-8.15,


CreateMeshBuilder,,;//左フロントホイール,,
Cylinder,16,0.28,0.28,0.05
SetColor,160,160,160,
Rotate,0,0,1,90
Translate ,1.18,0.47,-8.15,


CreateMeshBuilder,,;//左フロントホイール,,
AddVertex   ,1.21,0.23,-8.39,
AddVertex   ,1.21,0.71,-8.39,
AddVertex   ,1.21,0.71,-7.91,
AddVertex   ,1.21,0.23,-7.91,
AddFace,0,1,2,3
GenerateNormals,,,,

LoadTexture,front-wheel.bmp,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//左リアタイヤ,,
Cylinder,16,0.47,0.47,0.3
SetColor,40,40,40,
Rotate,0,0,1,90
Translate ,1.05,0.47,-2.88,


CreateMeshBuilder,,;//左リアタイヤ,,
Cylinder,16,0.47,0.47,0.3
SetColor,40,40,40,
Rotate,0,0,1,90
Translate ,0.68,0.47,-2.88,


CreateMeshBuilder,,;//左リアホイール,,
Cylinder,16,0.28,0.28,0.05
SetColor,160,160,160,
Rotate,0,0,1,90
Translate ,1.18,0.47,-2.88,


CreateMeshBuilder,,;//左リアホイール,,
AddVertex   ,1.21,0.23,-3.12,
AddVertex   ,1.21,0.71,-3.12,
AddVertex   ,1.21,0.71,-2.64,
AddVertex   ,1.21,0.23,-2.64,
AddFace,0,1,2,3
GenerateNormals,,,,

LoadTexture,rear-wheel.bmp,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//右フロントタイヤ,,
Cylinder,16,0.45,0.45,0.3
SetColor,30,30,30,
Rotate,0,0,1,90
Translate ,-1.05,0.47,-8.15,


CreateMeshBuilder,,;//右フロントホイール,,
Cylinder,16,0.28,0.28,0.05
SetColor,160,160,160,
Rotate,0,0,1,90
Translate ,-1.18,0.47,-8.15,


CreateMeshBuilder,,;//右フロントホイール,,
AddVertex   ,-1.21,0.23,-8.39,
AddVertex   ,-1.21,0.71,-8.39,
AddVertex   ,-1.21,0.71,-7.91,
AddVertex   ,-1.21,0.23,-7.91,
AddFace,0,3,2,1
GenerateNormals,,,,

LoadTexture,front-wheel.bmp,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//右リアタイヤ,,
Cylinder,16,0.47,0.47,0.3
SetColor,40,40,40,
Rotate,0,0,1,90
Translate ,-1.05,0.47,-2.88,


CreateMeshBuilder,,;//右リアタイヤ,,
Cylinder,16,0.47,0.47,0.3
SetColor,40,40,40,
Rotate,0,0,1,90
Translate ,-0.68,0.47,-2.88,


CreateMeshBuilder,,;//右リアホイール,,
Cylinder,16,0.28,0.28,0.05
SetColor,160,160,160,
Rotate,0,0,1,90
Translate ,-1.18,0.47,-2.88,


CreateMeshBuilder,,;//右リアホイール,,
AddVertex   ,-1.21,0.23,-3.12,
AddVertex   ,-1.21,0.71,-3.12,
AddVertex   ,-1.21,0.71,-2.64,
AddVertex   ,-1.21,0.23,-2.64,
AddFace,0,3,2,1
GenerateNormals,,,,

LoadTexture,rear-wheel.bmp,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,0,


;------影------,,,,
CreateMeshBuilder,,;//影,,
AddVertex   ,-1.245,0.01,-10.5,
AddVertex   ,-1.245,0.01,0,
AddVertex   ,1.245,0.01,0,
AddVertex   ,1.245,0.01,-10.5,
AddFace,0,1,2,3
SetColor,0,0,0,150
GenerateNormals,,,,
